﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;


namespace DataAccess.BusinessObject
{
    public class BCountVisit:Common.CDBase
    {
        //update
        public bool update()
        {
            SqlParameter[] sqlParam = { };
            return RunProcedure("sp_tblCountVisit_update", sqlParam);
        }
        //get
        public int get()
        {            
            return int.Parse(RunProcedureGet("sp_tblCountVisit_get").Rows[0]["CountVisit"].ToString());
        }
    }
}
